<body style="padding:6px; overflow:hidden;"> 
  
    <div id="maingrid" style="margin:0; padding:0"></div> 
    <div style="display:none;"> 
  <!-- g data total ttt --> 
</div> 
  
</body> 
 
<script type="text/javascript"> 
 
//----------------------------------------------------------------------- 
 var g = null; 
        $(function () { 
           g = $("#maingrid").ligerGrid({ 
                columns: [ 
                        { display: 'ID', name: 'id', width: 20 }, 
                          { display: 'APP_ID', name: 'partnerId' }, 
                        { display: 'app名称', name: 'name' } 
                ],  pageSize:10, 
              url: '${appServer}/channel/list-all.json', 
              root:'rows', 
              pageSize:10,
			  page:1,
			  record :'total',
			 pageParmName :'page',
			 pagesizeParmName :'pageSize',
              width: '100%',height:'100%' 
            });  
            $("#pageloading").hide(); 
        }); 
        function f_select() 
        { 
            return g.getSelectedRow(); 
        } 
 
 
</script> 